package controller;

import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 崔书健
 * @date 2024/7/24
 */
//@Controller
//@RequestMapping(value = "/user")
public class UserController {
    private Logger logger = LogManager.getLogger(UserController.class);

//    @RequestMapping(value = "/view",method = RequestMethod.GET)
//    @GetMapping("/view")
    public String view(){
        logger.info("查询用户详情");
        return null;
    }

//    @RequestMapping(value = "/save",method = RequestMethod.POST)
//    @PostMapping("save")
    public String save(){
        logger.info("保存用户信息");
        return null;
    }
}
